package com.hdu.pyl.service.basic;

import com.hdu.pyl.mappper.UserTagsMapper;
import com.hdu.pyl.pojo.User;
import com.hdu.pyl.pojo.UserTags;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserTagsServiceImpl {
    @Autowired
    private UserTagsMapper userTagsMapper;
    public UserTags findByUserId(Integer userId){
        return userTagsMapper.findByUserId(userId);
    }
    public void insertUserTag(UserTags userTags){
        userTagsMapper.insertUserTag(userTags);
    }
}
